gtk-builder-tool: Expand the preview command
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 17:57:50 +0000 (12:57 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 18:09:43 +0000 (13:09 -0500)
commit073f8bc44bd5fae222d1d94cba31c872a8502826
treeabe2204ee575346e0c115c359f47bd9ace8ff264
parentbc882a679d7e51baf1e61d31cfa75202e5a70e9b
gtk-builder-tool: Expand the preview command

Make the preview command parse options properly, turn the ID into
an --id=ID option, and add a --css=FILE option that allows to
specify a css file to use for previewing.

This is useful for e.g. previewing the reftest .ui files with
their corresponding .css.
docs/reference/gtk/gtk-builder-tool.xml
gtk/gtk-builder-tool.c